.condition-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    resize: vertical;
    min-height: 50px;
}

.condition-list-body {
    height: calc(100% - 32px);
    overflow-y: auto;
    /* max-height: 380px; */
    /* margin-bottom: 4px; */
}
.condition-list-body-maxh {
    max-height: 380px;
}

.condition-list-bottom {
    position: relative;
    margin: 14px 0 14px 6px;
}
.condition-list-reset {
    position: absolute;
    right: 32px;
    bottom: 4px;
}

.add-group-btn {
    width: 100%;
    background: rgb(239, 245, 255, 0.65);
    border: 1px solid rgba(219, 233, 255, 1);
    border-radius: 6px;
    color: #2a87ff;
    font-size: 13px;
}

.add-condition-btn {
    color: #2A87FF;
    font-size: 13px;
    display: inline-block;
}
.add-condition-btn:hover {
    cursor: pointer;
}
.add-condition-btn .f-icon {
    vertical-align: text-bottom;
    position: relative;
    width: 16px;
    height: 16px;
    /* background-color: #e8f2ff; */
    border-radius: 50%;
}
.add-condition-btn .f-icon-filter-add::before {
    position: relative;
    bottom: 3px;
    left: 2px;
    font-size: 12px;
}
.add-condition-btn .f-icon-filter-grouping::before {
    position: relative;
    bottom: 3px;
    left: 1px;
    font-size: 12px;
}

.condition-list-content {
    display: flex;
}
.condition-list-content-group {
    flex: 0 0 auto;
}
.condition-list-item {
    padding: 4px;
    display: flex;
    height: 40px;
}
.condition-list-item-type {
    width: 200px;
}
.condition-list-type button {
    text-align: left;

    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.condition-list-item-compare {
    width: 134px;
}
.condition-list-compare button {
    text-align: left;

    position: relative;
}

.condition-list-type .f-icon-arrow-chevron-down::before,
.condition-list-compare .f-icon-arrow-chevron-down::before {
    position: absolute;
    right: 8px;
    bottom: 4px;
}
.condition-list-content .dropdown-toggle::after {
    display: none;
}

.condition-list-item-control {
    /* background-color: #fff; */
    line-height: 26px;
    width: 200px;
}

.condition-list-item-extend {
}

.condition-list-item-extend .f-icon {
    vertical-align: text-bottom;
}
.condition-list-item-extend .f-icon:hover {
    cursor: pointer;
}
.condition-list-item-extend .f-icon-plus-sm::before {
    font-size: 14px;
    color: #2a87ff;
    background-color: #e8f2ff;
    border-radius: 50%;
    position: relative;
    top: 1px;
}
.condition-list-item-extend .f-icon-minus-sm::before {
    font-size: 14px;
    color: #f46160;
    background-color: #fadcdd;
    border-radius: 50%;
    position: relative;
    top: 1px;
}

.condition-list-relation {
    margin: 2px 0 2px 12px;
    margin-left: 12px;
    border-left: 1px solid rgba(222, 227, 240, 1);
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 13px;
    color: #2a87ff;
    /* writing-mode: vertical-rl; */
    text-align: center;
    cursor: pointer;
}

.condition-list-relation:hover .condition-list-relation-close {
    display: inline;
}

.condition-list-relation-close {
    position: absolute;
    top: -4px;
    display: none;
}

.condition-list-relation:hover .condition-list-relation-text {
    text-decoration: underline;
}

.condition-list-item .custom-control-label:before {
    position: relative;
    top: 2px;
}

.condition-list-relation button {
    width: 20px;
}

.dropdown-menu {
    writing-mode: horizontal-tb;
    overflow-y: overlay;
    max-height: 45%;
}
